package com.taobao.wolfwolf.hibernate.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Color entity. @author MyEclipse Persistence Tools
 */

public class Color implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Integer rgb;
	private Integer colorNumber;
	private Set singleRibbons = new HashSet(0);
	private Set ribbonColors = new HashSet(0);

	// Constructors

	/** default constructor */
	public Color() {
	}

	/** full constructor */
	public Color(String name, Integer rgb, Integer colorNumber,
			Set singleRibbons, Set ribbonColors) {
		this.name = name;
		this.rgb = rgb;
		this.colorNumber = colorNumber;
		this.singleRibbons = singleRibbons;
		this.ribbonColors = ribbonColors;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getRgb() {
		return this.rgb;
	}

	public void setRgb(Integer rgb) {
		this.rgb = rgb;
	}

	public Integer getColorNumber() {
		return this.colorNumber;
	}

	public void setColorNumber(Integer colorNumber) {
		this.colorNumber = colorNumber;
	}

	public Set getSingleRibbons() {
		return this.singleRibbons;
	}

	public void setSingleRibbons(Set singleRibbons) {
		this.singleRibbons = singleRibbons;
	}

	public Set getRibbonColors() {
		return this.ribbonColors;
	}

	public void setRibbonColors(Set ribbonColors) {
		this.ribbonColors = ribbonColors;
	}

}